<template>
  <div class="d-detail-wrap">
    <div class="d-detail-text">
      <div class="item-text" v-for="(item,i) in desc.fields" :key="i">
        <span>{{item.label}}</span>
        : {{item.text}}
      </div>
    </div>

    <div class="detail-box">
      <img :src="item" v-for="(item,index) in desc.urls" :key="index" alt>
    </div>
  </div>
</template>

<script>
export default {
  props: ["desc"]
};
</script>

<style lang="scss">
.d-detail-wrap {
  margin-top: 20px;
  background: #fff;
  color: #333333;
  font-size: 32px;
  .d-detail-text {
    margin-top: 20px;
    padding-left: 48px;
    .item-text {
      line-height: 50px;
      span {
        color: #7f7f7f;
      }
    }
  }
  .detail-box {
    padding: 0;
    line-height: 0;
    margin-top: 20px;

    img {
      width: 100%;
    }
  }
}
</style>
